<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt"%>
<%@page import="java.util.*,java.text.*" %>
<fmt:bundle basename="com.aptech.bundle.Resource">
<%
    Date today = new Date();
    DateFormat df_fr = DateFormat.getDateInstance(DateFormat.DEFAULT, Locale.FRENCH);
    DateFormat df_en = DateFormat.getDateInstance(DateFormat.DEFAULT, Locale.ENGLISH);

    String frDate = df_fr.format(today);
    String enDate = df_en.format(today);

    SimpleDateFormat sf = new SimpleDateFormat("yyy-MM-dd", Locale.FRENCH);
    String sfDate = sf.format(today);
    
%>
<html>
  <head>
    <title><fmt:message key="title"/></title>
  </head>
  <body>
      
  <hr>
  French Date: <%=frDate%>
  <hr>
  English Date: <%=enDate%>
  <hr>
  simple format Date: <%=sfDate%>
  </body>
</html>
</fmt:bundle>
